package cn.db.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Entity
@Table(name = "t_order")
public class  Order {

    @Id
    @TableId(type= IdType.AUTO)
    private Integer id;

    private String orderNo;

    private Integer amount;

    private Integer skuId;

    private Integer userId;
}
